package com.wwinsoft.oa.dao.aftersales;

import java.util.List;

import org.springframework.stereotype.Component;

import com.wwinsoft.modules.orm.Page;
import com.wwinsoft.modules.orm.mybatis.MyBatisDao;
import com.wwinsoft.oa.pojo.aftersales.AftersalesMaintainBean;

/**
 * @author: sevenSpend
 * @since 1.0
 */
@Component
public class AftersalesMaintainQueryDao extends MyBatisDao {

    public Page<AftersalesMaintainBean>  searchAftersalesMaintainPage(Page<AftersalesMaintainBean> page , Object filter) {
           return selectPage(page, "Aftersales.selectAftersalesPage" ,filter) ;
    }
    public List<AftersalesMaintainBean> searchAftersalesMaintain(Object filter) {
           return getSqlSession().selectList("Aftersales.selectAftersalesPage" ,filter) ;
    }
}
